﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Howork
{
    public partial class Workflow : System.Web.UI.Page
    {
        protected String daibanURL, faqiURL, curURL;
        protected void Page_Load(object sender, EventArgs e)
        {
            if(Session["login"] == "login")
            {
                faqiURL = "http://127.0.0.1/ccFlow/WF/Port.aspx?UserNo=" + Session["id"] + "&DoWhat=StartSmall";
                daibanURL = "http://127.0.0.1/ccFlow/WF/Port.aspx?UserNo=" + Session["id"] + "&DoWhat=EmpWorksSmall";
                //daibanURL = "EmpTemp.aspx";
                switch(WorkType.SelectedIndex)
                {
                    case 0:
                        {
                            curURL = faqiURL;
                            break;
                        }
                    case 1:
                        {
                            curURL = daibanURL;
                            break;
                        }
                }
            }
        }
    }
}